export default () => ({
  currentUser: JSON.parse(localStorage.getItem('currentUser')) || {},

  unreadCommentsCount: 0,
  unreadVotesCount: 0,
  unreadAnncCount: 0,
  unreadOtherCount: 0,

  currentSpace: JSON.parse(localStorage.getItem('currentSpace')) || {},
  currentSpaceSidebarStatistics: {},

  currentDocument: {},
  currentIssue: {},
  currentContribution: {},

  currentGroup: JSON.parse(localStorage.getItem('currentGroup')) || {},

  currentCommunity: {},

  currentQuestionnaire: {},

  showingUser: {}, // 当前正在查看谁的动态/信息

  sidebarCollapsed: false, // 侧边栏是否折叠
  invisibleSidebar: false, // 屏幕宽度 < 768px 时，采用隐藏式的侧边栏

  currentFeedback: {},

  currentGoodResourcesTabs2: [],
  selectedFolder: {},

  currentFolder: [],
  preUploads: [],
});
